/*     */ package com.chinapay.secss;
/*     */ 
/*     */ import java.util.HashMap;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class SecssConstants
/*     */ {
/*  14 */   public static String KEY_VALUE_CONNECT = "=";
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*  19 */   public static String MESSAGE_CONNECT = "&";
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*  24 */   public static String SIGN1_ALGNAME = "SHA1WithRSA";
/*     */ 
/*     */ 
/*     */   
/*  28 */   public static String SIGN512_ALGNAME = "SHA512WithRSA";
/*     */ 
/*     */ 
/*     */   
/*  32 */   public static String SIGN512 = "SHA-512";
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*  37 */   public static String ENC_ALG_PREFIX = "RSA";
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*  42 */   public static String DEFAULT_PROVIDER = "BC";
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*  47 */   public static String CHARSET_COMM = "UTF-8";
/*     */ 
/*     */ 
/*     */   
/*  51 */   public static String SIGN_FILE = "sign.file";
/*     */ 
/*     */ 
/*     */   
/*  55 */   public static String SIGN_FILE_ALIAS = "sign.file.alias";
/*     */ 
/*     */ 
/*     */   
/*  59 */   public static String SIGN_FILE_PW = "sign.file.password";
/*     */ 
/*     */ 
/*     */   
/*  63 */   public static String VERIFY_FILE = "verify.file";
/*     */ 
/*     */ 
/*     */   
/*  67 */   public static String SIGN_CERT_TYPE = "sign.cert.type";
/*     */ 
/*     */ 
/*     */   
/*  71 */   public static String SIGNATURE_FIELD = "signature.field";
/*     */ 
/*     */ 
/*     */   
/*  75 */   public static String SIGN_INVALID_FIELDS = "sign.invalid.fields";
/*     */ 
/*     */ 
/*     */   
/*  79 */   public static String RETURN_LINE = "\r\n";
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*  84 */   public static String SUCCESS = "00";
/*     */ 
/*     */ 
/*     */   
/*  88 */   public static String LOAD_CONFIG_ERROR = "01";
/*     */ 
/*     */ 
/*     */   
/*  92 */   public static String SIGN_CERT_ERROR = "02";
/*     */ 
/*     */ 
/*     */   
/*  96 */   public static String SIGN_CERT_PWD_ERROR = "03";
/*     */ 
/*     */ 
/*     */   
/* 100 */   public static String SIGN_CERT_TYPE_ERROR = "04";
/*     */ 
/*     */ 
/*     */   
/* 104 */   public static String INIT_SIGN_CERT_ERROR = "05";
/*     */ 
/*     */ 
/*     */   
/* 108 */   public static String VERIFY_CERT_ERROR = "06";
/*     */ 
/*     */ 
/*     */   
/* 112 */   public static String INIT_VERIFY_CERT_ERROR = "07";
/*     */ 
/*     */ 
/*     */   
/* 116 */   public static String GET_PRI_KEY_ERROR = "08";
/*     */ 
/*     */ 
/*     */   
/* 120 */   public static String GET_CERT_ID_ERROR = "09";
/*     */ 
/*     */ 
/*     */   
/* 124 */   public static String GET_SIGN_STRING_ERROR = "10";
/*     */ 
/*     */ 
/*     */   
/* 128 */   public static String SIGN_GOES_WRONG = "11";
/*     */ 
/*     */ 
/*     */   
/* 132 */   public static String VERIFY_GOES_WRONG = "12";
/*     */ 
/*     */ 
/*     */   
/* 136 */   public static String VERIFY_FAILED = "13";
/*     */ 
/*     */ 
/*     */   
/* 140 */   public static String SIGN_FIELD_NULL = "14";
/*     */ 
/*     */ 
/*     */   
/* 144 */   public static String SIGN_VALUE_NULL = "15";
/*     */ 
/*     */ 
/*     */   
/* 148 */   public static String UNKNOWN_WRONG = "16";
/*     */ 
/*     */ 
/*     */   
/* 152 */   public static String ENCPIN_GOES_WRONG = "17";
/*     */ 
/*     */ 
/*     */   
/* 156 */   public static String ENCDATA_GOES_WRONG = "18";
/*     */ 
/*     */ 
/*     */   
/* 160 */   public static String DECDATA_GOES_WRONG = "19";
/*     */ 
/*     */ 
/*     */   
/* 164 */   public static String DEFAULTINIT_GOES_WRONG = "20";
/*     */ 
/*     */ 
/*     */   
/* 168 */   public static String SPECIFYINIT_GOES_WRONG = "21";
/*     */ 
/*     */ 
/*     */   
/* 172 */   public static String RELOADSC_GOES_WRONG = "22";
/*     */ 
/*     */ 
/*     */   
/* 176 */   public static String NO_INIT = "23";
/*     */ 
/*     */ 
/*     */   
/* 180 */   public static String CONFIG_WRONG = "24";
/*     */ 
/*     */ 
/*     */   
/* 184 */   public static String INIT_CONFIG_WRONG = "25";
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 189 */   public static final HashMap ERRMAP = new HashMap<Object, Object>();
/*     */   
/*     */   static {
/* 192 */     ERRMAP.put(SUCCESS, "操作成功");
/*     */     
/* 194 */     ERRMAP.put(LOAD_CONFIG_ERROR, 
/* 195 */         "加载security.properties配置文件出错，请检查文件路径！");
/*     */ 
/*     */     
/* 198 */     ERRMAP.put(SIGN_CERT_ERROR, "签名文件路径配置错误！");
/*     */     
/* 200 */     ERRMAP.put(SIGN_CERT_PWD_ERROR, "签名文件访问密码配置错误！");
/*     */     
/* 202 */     ERRMAP.put(SIGN_CERT_TYPE_ERROR, "签名文件密钥容器类型配置错误，需为PKCS12！");
/*     */     
/* 204 */     ERRMAP.put(INIT_SIGN_CERT_ERROR, "初始化签名文件出错！");
/*     */     
/* 206 */     ERRMAP.put(VERIFY_CERT_ERROR, "验签证书路径配置错误！");
/*     */     
/* 208 */     ERRMAP.put(INIT_VERIFY_CERT_ERROR, "初始化验签证书出错！");
/*     */     
/* 210 */     ERRMAP.put(GET_PRI_KEY_ERROR, "获取签名私钥出错！");
/*     */     
/* 212 */     ERRMAP.put(GET_CERT_ID_ERROR, "获取签名证书ID出错！");
/*     */     
/* 214 */     ERRMAP.put(GET_SIGN_STRING_ERROR, "获取签名字符串出错！");
/*     */     
/* 216 */     ERRMAP.put(SIGN_GOES_WRONG, "签名过程发生错误！");
/*     */     
/* 218 */     ERRMAP.put(VERIFY_GOES_WRONG, "验签过程发生错误！");
/*     */     
/* 220 */     ERRMAP.put(VERIFY_FAILED, "验签失败！");
/*     */     
/* 222 */     ERRMAP.put(SIGN_FIELD_NULL, "配置文件中签名字段名称为空！");
/*     */     
/* 224 */     ERRMAP.put(SIGN_VALUE_NULL, "报文中签名为空！");
/*     */     
/* 226 */     ERRMAP.put(UNKNOWN_WRONG, "未知错误！");
/*     */     
/* 228 */     ERRMAP.put(ENCPIN_GOES_WRONG, "Pin加密过程发生错误！");
/*     */     
/* 230 */     ERRMAP.put(ENCDATA_GOES_WRONG, "数据加密过程发生错误！");
/*     */     
/* 232 */     ERRMAP.put(DECDATA_GOES_WRONG, "数据解密过程发生错误！");
/*     */     
/* 234 */     ERRMAP.put(DEFAULTINIT_GOES_WRONG, "从默认配置文件初始化安全控件发生错误！");
/*     */     
/* 236 */     ERRMAP.put(SPECIFYINIT_GOES_WRONG, "从指定属性集初始化安全控件发生错误！");
/*     */     
/* 238 */     ERRMAP.put(RELOADSC_GOES_WRONG, "重新加载签名证书发生错误！");
/*     */     
/* 240 */     ERRMAP.put(NO_INIT, "未初化安全控件！");
/*     */     
/* 242 */     ERRMAP.put(CONFIG_WRONG, "控件初始化信息未正确配置，请检查！");
/*     */     
/* 244 */     ERRMAP.put(INIT_CONFIG_WRONG, "初始化配置信息发生错误！");
/*     */   }
/*     */ }


/* Location:              C:\Users\Administrator\Downloads\jd-gui-windows-1.6.6\jd-gui-windows-1.6.6\chinapay-secure-1.5.1.jar!\com\chinapay\secss\SecssConstants.class
 * Java compiler version: 5 (49.0)
 * JD-Core Version:       1.1.3
 */